/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.library.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 试题题库 实体类
 *
 * @author
 * @since 2023-03-22
 */
@Data
@TableName("ts_question_bank")
@ApiModel(value = "QuestionBank对象", description = "试题题库")
@EqualsAndHashCode(callSuper = true)
public class QuestionBankEntity extends TenantEntity {

	/**
	 * 乐观锁
	 */
	@ApiModelProperty(value = "乐观锁")
	private String revision;
	/**
	 * 题目内容
	 */
	@ApiModelProperty(value = "题目内容")
	private String content;
	/**
	 * 题目解析
	 */
	@ApiModelProperty(value = "题目解析")
	private String problemAnalysis;
	/**
	 * 题目类型标题
	 */
	@ApiModelProperty(value = "题目类型标题")
	private String paperTypeTitle;
	/**
	 * 课程ID
	 */
	@ApiModelProperty(value = "课程ID")
	private String courseId;
	/**
	 * 章节(课程章节的ID)
	 */
	@ApiModelProperty(value = "章节(课程章节的ID)")
	private String chapterId;
	/**
	 * 课程小节
	 */
	@ApiModelProperty(value = "课程小节")
	private String subId;
	/**
	 * 题目类型
	 */
	@ApiModelProperty(value = "题目类型")
	private Integer questionType;
	/**
	 * 保密级别
	 */
	@ApiModelProperty(value = "保密级别")
	private Integer secrecyLevel;
	/**
	 * 所属类别(练习题，考试题)
	 */
	@ApiModelProperty(value = "所属类别")
	private Integer affiliationType;
	/**
	 * 题目难度
	 */
	@ApiModelProperty(value = "题目难度")
	private Integer difficultyLevel;
	/**
	 * 正确答案
	 */
	@ApiModelProperty(value = "正确答案")
	private String correctAnswer;
	/**
	 * 题目性质
	 */
	@ApiModelProperty("题目性质")
	private String questionProperties;
	/**
	 * 题目编号
	 */
	@ApiModelProperty("题目编号")
	private String questionNumber;

	/**
	 * 版本批次号
	 */
	@ApiModelProperty(value = "版本批次号")
	private String version;

	/**
	 * 一级类别
	 */
	@ApiModelProperty(value = "一级类别")
	private String categoryFirst;

	/**
	 * 二级类别
	 */
	@ApiModelProperty(value = "二级类别")
	private String categorySecond;

	/**
	 * 题库名称
	 */
	@ApiModelProperty(value = "题库名称")
	private String bankName;


}
